foo_discogs, Tags files with information from Discogs |
![]() ![]() |
foo_discogs, Tags files with information from Discogs |
Nov 26 2006, 22:58
Post
#1
|
|
|
Group: Developer Posts: 809 Joined: 13-November 05 Member No.: 25748 |
Features:
- tag files using discogs data. Retrieve more info than most taggers. Goes to extra length to make sure retrieve data is correct and well formatted - flexible tag mapping allows you to write only what you want where you want - use of meta data in tags to display artist / label / release discogs www page - able to later update specified tags (useful to update rating) current version: 1.25 Download ]foo_discogs 1.25 (requires foobar2000 1.0+ Download ]foo_discogs 1.22 (requires foobar2000 0.9.5+ foo_discogs 1.22 source code Documentation (thanks Bachi-Bouzouk) find release dialog screenshot (v0.90) release dialog screenshot (v0.90) screenshot illustrating use of discogs data GdiPlus.dll is a dependency, however if you use some recent version of Windows you already have it. If you're using fb2k under wine (Linux) you'll need to copy GdiPlus.dll in fb2k root directory. Tags won't be written if the option "ID3v2 Writer Compatibility Mode" is enable in your fb2k conf CODE 1.25 ----- - download primary image for album and artist art before secondary ones 1.24 ----- - fix: unzip album/artist art on retrieval - compiled against newer SDK on VS2010 1.23 ----- - compiled with 1.0 SDK final, requires fb2k 1.0+ - fix: randomly, plugin could blame itself for other plugins crashes - fix: "View album art page" and "View artist art page" were not working due to URL change - chg: by default "Match discogs track to local track on track length" is disabled as it sometimes get order wrong. - new: added tag "Artist Name Variation". This tag is written only if there's only one artist for the release or the track, and if that name is an ANV (artist name variation). It is not enabled to be written by default. - fix: track credits tags "featuring", "remix", "vocals" were not written if more than one credit 1.21 ----- - fix: don't crash on buggy releases with no label 1.20 ----- - find release dialog: populate search artists text field with eventual leading "The" at the end => "Beatles, The" - find release dialog: added button to clear the filter (quick way to display all releases) - find release dialog: added button to clear the release cache. Useful when submitting/updating discogs data and tagging at the same time - find release dialog: fix: not possible anymore to instanciate this dialog several times using accelerator keys, leading to crashes. 1.19 ----- - fix crash when closing the find release dialog while a discogs request is not completed 1.18 ------ - fix: rare crash on some artist names (such as artist named "()" in http://www.discogs.com/release/1513652 - fix: handle correctly ascii characters > 127 in search - use foobar's http proxy if used with foobar2000 >= v0.9.6.5 beta 1, otherwise uses IE proxy settings (OS configuration) 1.17 ------ - stability fixes (thanks Peter). - I/O operations abortable instantly - Filter in Find Release dialog is populated with %ALBUM% 1.15 ------ - fix: "move the at begginning" setting was not honored in all credit tags + other artists field (members, anvs, aliases, groups) and numeric suffix found in artist names where not removed for those tags. - add: new tags DISCOGS_RELEASE_CREDITS_MULTI and DISCOGS_TRACK_CREDITS_MULTI store release and track credits as a multi-value tag - chg: by default "Label" is mapped to tag PUBLISHER and "Remix track credit" is mapped to REMIXED BY, so foobar writes those tags in the dedicated ID3 frame (see http://wiki.hydrogenaudio.org/index.php?ti...D3_Tag_Mapping) - source code release 1.14 ------ - recompiled against the latest SDK so it can run using foobar 0.9.6 or above under Windows Vista - chg: removed foo_custominfo support as it is a deprecated component - chg: artist art directory now allow tagz syntax allowing to store artist art in the release directory (instead of a single unique directory) 1.13 ------ + add: release dialog: horizontal scrollbars in discogs track list and local file list + add: update album/artist art dialog now has settings that overrides those of the configuration tab to force retrieval of art. This is convenient when art retrieval is always disabled at tag time, and later updated. + add: add tag DISCOGS_ARTIST_MULTI (same as Artist, but as a multi-value tag to separate artists, useful with <%DISCOGS_ARTIST_MULTI%>) and DISCOGS_ALBUM_ARTIST_MULTI (same as Album Artist, but as a multi-value tag to separate artists. Contrary to Album Artist it always has a value). See discussion with Dave_Scream (http://www.hydrogenaudio.org/forums/index.php?showtopic=50523&st=425#) + chg: preferences: now artist art can be stored in the release directory (using tagz for the directory). filenames still use artist id. + chg: preferences: removed outdated HTML fetch method + chg: find release dialog: if a searched artist is an ANV, display all of it's ANVs and non-ANVs releases. Try it with trentemoeller! + chg: catch file io exceptions with a meaningful message in the console + chg: "overwrite existing files" is only possible for artist art, as it is problematic for artist art + fix: DISCOGS_TRACK_CREDITS: earch role is separated by ; instead of \n + fix: find release dialog: double-clicking on artist name or release to launch the related Discogs www page now always work + fix: all available artist art was always fetched even if "fetch all available art" was unchecked 1.12 ----- + fix: editing a tag mapping could attribute it to the wrong discogs info + fix: incomplete url escaping was producing XML parse error (release 239279) + fix: %DISCOGS_ARTIST_ID% is now fetched and written with the XML API + chg: retrieve art using XML API urls instead of old HTML method (faster) + fix: small art preview is now displayed when using the XML API + fix: artist art directory is created if it does not exist + chg: subtracks are now part of the discogs track listing if they have some length (that mean they are real tracks, instead of separators) (ex: release 891540, subtracks are skipped) + fix: %DISCOGS_CREDIT_FEATURING%, %DISCOGS_CREDIT_VOCALS%, %DISCOGS_CREDIT_REMIX% now handle multiples credits (ex: release 1085782, track 11) + add: value written for %ALBUM_ARTIST% when release is a compilation is now configurable (default: "Various Artist") 1.11 ----- - fix crashes for some buggy releases with empty fields (notes etc, ex : 812575), should no more crash with any empty field. - better detection of VINYLTRACK, now based on format (ex : 812575) - added %DISCOGS_TRACK_POSITION% : this is the unmodified position field in front of track names as they appear in the HTML pages. - fix: no more crashes for some buggy release with tracks from several artist but no join fields (ex: 1011711) - fix XML parse error for release with place holder artists (ex: 937961) 1.10 ----- - use discogs XML API with new tags supported. HTML parsing method still available in configuration/network - custom genre/styles of any length can be entered in release dialog combo boxes 1.02 ----- - fixes html parse error with placeholder artists for good (ex: release 204297) - fix missing year in release list - add horizontal scrollbar in release list to see long release names. 1.01 ----- - fix html parse errors due to small discogs html changes - fix parse errors with tracklisting containing placeholder artist such as "No Artist" or "Various" (such as releases 204297 or 336752) - fix a crash with this release: 891416 (don't remember the cause) 1.0 ---- - add: back button on the release dialog, return to find release dialog - fix: crash when parsing some releases such as 743691 with disc titles in the tracklisting. (thx Hivemind) - fix: crash when parsing buggy artist pages with empty "Members:" section. Hey Bob Sinclar smile.gif. (thx stampgevaar)[/quote] This post has been edited by bubbleguuum: Jul 19 2010, 20:55 |
|
|
|
Nov 26 2006, 23:01
Post
#2
|
|
|
Group: Members Posts: 106 Joined: 22-July 06 Member No.: 33181 |
May I be the first one to extend my great thanks for this plugin. I'll be sure to post any relevant feedback.
|
|
|
|
Nov 26 2006, 23:26
Post
#3
|
|
|
Group: Members Posts: 106 Joined: 22-July 06 Member No.: 33181 |
First impressions:
Easy problem: Perhaps add the album release format (shown as "format" on discogs page) as a writeable tag? Medium problem: When I tag vinyl albums, I like to put their side/track vinyl tracknumbers in a "VINYLTRACK" field, as I know other people do, and I order the "TRACKNUMBER" field like anyone else would. For example, a five-song 12" might look like Track 1: VINYLTRACK = A1, TRACKNUMBER = 1 Track 2: VINYLTRACK = A2, TRACKNUMBER = 2 Track 3: VINYLTRACK = B1, TRACKNUMBER = 3 Track 4: VINYLTRACK = B2, TRACKNUMBER = 4 Track 5: VINYLTRACK = B3, TRACKNUMBER = 5 Supporting this behavior natively somehow would be awesome. (Edit: Also, setting TOTALTRACKS would be nice. I'm just hoping it can get to the point where I can enter the release ID and get my stuff tagged how I like it without having to go into properties afterward and muck around.) This post has been edited by mquander: Nov 26 2006, 23:33 |
|
|
|
Nov 26 2006, 23:34
Post
#4
|
|
|
Group: Developer Posts: 809 Joined: 13-November 05 Member No.: 25748 |
First impressions: Easy problem: Perhaps add the album release format (shown as "format" on discogs page) as a writeable tag? Medium problem: When I tag vinyl albums, I like to put their side/track vinyl tracknumbers in a "VINYLTRACK" field, as I know other people do, and I order the "TRACKNUMBER" field like anyone else would. For example, a five-song 12" might look like Track 1: VINYLTRACK = A1, TRACKNUMBER = 1 Track 2: VINYLTRACK = A2, TRACKNUMBER = 2 Track 3: VINYLTRACK = B1, TRACKNUMBER = 3 Track 4: VINYLTRACK = B2, TRACKNUMBER = 4 Track 5: VINYLTRACK = B3, TRACKNUMBER = 5 Supporting this behavior natively somehow would be awesome. Both of them are easy to do so good candiate for the next version. In fact I already retrieve the "Format" info but just forgot to expose it ! Damn |
|
|
|
Nov 27 2006, 00:05
Post
#5
|
|
|
Group: Members Posts: 13 Joined: 20-November 06 Member No.: 37799 |
Woho! Letīs try it out.
Iīll report my thoughts later |
|
|
|
Nov 27 2006, 01:40
Post
#6
|
|
![]() Group: Members Posts: 327 Joined: 28-July 04 Member No.: 15832 |
Thank you so much for this. Could you add support for the styles, notes, and composer info? It seems like style and genre info are being combined.
This post has been edited by alphaex32: Nov 27 2006, 01:43 |
|
|
|
Nov 27 2006, 01:42
Post
#7
|
|
![]() Group: Members Posts: 77 Joined: 19-August 06 Member No.: 34226 |
Sounds great. But I guess I'll wait for custominfo support.
|
|
|
|
Nov 27 2006, 02:05
Post
#8
|
|
![]() Group: Members Posts: 201 Joined: 6-January 06 From: Montreal Member No.: 26914 |
|
|
|
|
Nov 27 2006, 13:20
Post
#9
|
|
|
Group: Developer Posts: 809 Joined: 13-November 05 Member No.: 25748 |
Thank you so much for this. Could you add support for the styles, notes, and composer info? It seems like style and genre info are being combined. Discogs genre is ignored because I thought it was too vague (Electronic, ...). Style is used instead because more precise. If people want it I can enable Discogs Genre again. As for note composer info, we'll see later when the parser will be more robust but I wish discogs would propose a decent API for this - instead of parsing generated HTML. Thanks, great component. One small bug with files length higher than ten minutes. Looks like foo_discogs adds the length at the end of %title% field. Release ID: 507593. ![]() Thanks for spotting this one! This post has been edited by bubbleguuum: Nov 27 2006, 13:27 |
|
|
|
Nov 27 2006, 14:50
Post
#10
|
|
![]() Group: Members Posts: 327 Joined: 28-July 04 Member No.: 15832 |
Id like to have genre enabled, if its not too much trouble
|
|
|
|
Nov 27 2006, 15:00
Post
#11
|
|
![]() Group: Members Posts: 201 Joined: 6-January 06 From: Montreal Member No.: 26914 |
|
|
|
|
Nov 27 2006, 15:04
Post
#12
|
|
|
Group: Members Posts: 237 Joined: 9-September 06 Member No.: 34997 |
this is a very nice idea but is it also possible if there are various artist names to have the right artist name for every song and not only a album artist or I'm I overlooking something.
and thanks btw great plugin saves me a lot of work edit: I see this happens when the album artist is various artists, can you maybe make it possible to switch the album artist thing off for some albums because the info isn't always correct/incomplete so that the artists next to the song are taken (on discogs). sorry for the bad english hope I'm a bit understandable for example http://www.discogs.com/release/605280 when I tag this vinyl the artist is partyraiser by all the songs while as you can see this is not really the case so a option to chose between an album artist or to have them seperately or both would be usefull. but it's just a suggestion, thanks in advance This post has been edited by stampgevaar: Nov 27 2006, 15:19 |
|
|
|
Nov 27 2006, 15:59
Post
#13
|
|
|
Group: Members Posts: 144 Joined: 27-March 05 From: Midgaard Member No.: 20990 |
How does this do with releases with multiple discs?
I use the %discnumber% tag... And when handling many directories (which is how i handle multiple discs) it should sort the files with the full path instead of the filename (making it easier to match files without needing to use the move function over and over again). This post has been edited by zachastrife: Nov 27 2006, 16:00 |
|
|
|
Nov 27 2006, 17:23
Post
#14
|
|
|
Group: Members Posts: 20 Joined: 28-April 06 Member No.: 30148 |
Getting the following message upon startup:
Failed to load DLL: foo_discogs.dll Reason: This component is missing a required dependency, or was made for different version of foobar2000. I do have libcurl.dll in the foobar2000 root (didn't get it from your link, already had it), and am running foobar v0.9.4.1. Any idea what is wrong? libcurl.dll is version 7.15.1. |
|
|
|
Nov 27 2006, 19:42
Post
#15
|
|
|
Group: Developer Posts: 809 Joined: 13-November 05 Member No.: 25748 |
this is a very nice idea but is it also possible if there are various artist names to have the right artist name for every song and not only a album artist or I'm I overlooking something. and thanks btw great plugin saves me a lot of work edit: I see this happens when the album artist is various artists, can you maybe make it possible to switch the album artist thing off for some albums because the info isn't always correct/incomplete so that the artists next to the song are taken (on discogs). sorry for the bad english hope I'm a bit understandable for example http://www.discogs.com/release/605280 when I tag this vinyl the artist is partyraiser by all the songs while as you can see this is not really the case so a option to chose between an album artist or to have them seperately or both would be usefull. but it's just a suggestion, thanks in advance This is a known problem and will be corrected : releases such as this that have two artists are not parsed correctly yet |
|
|
|
Nov 27 2006, 19:43
Post
#16
|
|
|
Group: Members Posts: 13 Joined: 20-November 06 Member No.: 37799 |
I think Tracknumber and Vinylnumber should be separated. As someone suggested earlier. Also %total tracks% should be filled I think. Works great with the few releases I have tried!
With foo_custominfo support it will be even better! |
|
|
|
Nov 27 2006, 19:46
Post
#17
|
|
|
Group: Developer Posts: 809 Joined: 13-November 05 Member No.: 25748 |
How does this do with releases with multiple discs? I use the %discnumber% tag... And when handling many directories (which is how i handle multiple discs) it should sort the files with the full path instead of the filename (making it easier to match files without needing to use the move function over and over again). good ideas here, with some work the %discnumber% tag could be autodetected Getting the following message upon startup: Failed to load DLL: foo_discogs.dll Reason: This component is missing a required dependency, or was made for different version of foobar2000. I do have libcurl.dll in the foobar2000 root (didn't get it from your link, already had it), and am running foobar v0.9.4.1. Any idea what is wrong? libcurl.dll is version 7.15.1. I din't tried it with 0.9.4.1 but it should be compatible...the problem is probably libcurl. Did you tried to replace your existing libcurl with the one linked in the first post to see if it works ? |
|
|
|
Nov 27 2006, 19:58
Post
#18
|
|
|
Group: Members Posts: 511 Joined: 10-July 04 Member No.: 15248 |
Yay, you rule.
Add support for allmusic.com too! |
|
|
|
Nov 27 2006, 20:01
Post
#19
|
|
|
Group: Members Posts: 13 Joined: 20-November 06 Member No.: 37799 |
One more thing: please add keyboard shortcuts in some future release.
|
|
|
|
Nov 27 2006, 21:08
Post
#20
|
|
|
Group: Members Posts: 237 Joined: 9-September 06 Member No.: 34997 |
this is a very nice idea but is it also possible if there are various artist names to have the right artist name for every song and not only a album artist or I'm I overlooking something. and thanks btw great plugin saves me a lot of work edit: I see this happens when the album artist is various artists, can you maybe make it possible to switch the album artist thing off for some albums because the info isn't always correct/incomplete so that the artists next to the song are taken (on discogs). sorry for the bad english hope I'm a bit understandable for example http://www.discogs.com/release/605280 when I tag this vinyl the artist is partyraiser by all the songs while as you can see this is not really the case so a option to chose between an album artist or to have them seperately or both would be usefull. but it's just a suggestion, thanks in advance This is a known problem and will be corrected : releases such as this that have two artists are not parsed correctly yet ok thanks mate |
|
|
|
Nov 27 2006, 21:22
Post
#21
|
|
|
Group: Members Posts: 65 Joined: 7-October 06 Member No.: 36042 |
Id like to have genre enabled, if its not too much trouble Id like that too. Why not have this as an option? Also, what does libcurl.dll do? Testing it right now, some things have popped up. You should test this with all sorts of files, I'm trying to rename a .flac file (P.U.L.S.E. two discs) and its stuck halfway right now, I dunno if its gonna work out eventually... But this is a .flac image, with embedded cuesheet I think. edit:Yah, its hanging up hardcore, if you could look into that. Also, are there any plans for it to find the number by itself, or within foobar bitte? edit 2:What is the DISCOGS_PUBLISHER tag? Is it impossible to take that out? This post has been edited by nilsHaus: Nov 27 2006, 23:37 |
|
|
|
Nov 27 2006, 22:25
Post
#22
|
|
|
Group: Members Posts: 71 Joined: 10-May 06 Member No.: 30639 |
Thanks for this great plugin! I just tagged some albums which were missing tracknumbers
|
|
|
|
Nov 27 2006, 23:24
Post
#23
|
|
|
Group: Members Posts: 20 Joined: 28-April 06 Member No.: 30148 |
QUOTE Failed to load DLL: foo_discogs.dll Reason: This component is missing a required dependency, or was made for different version of foobar2000. I do have libcurl.dll in the foobar2000 root (didn't get it from your link, already had it), and am running foobar v0.9.4.1. Any idea what is wrong? libcurl.dll is version 7.15.1. QUOTE I din't tried it with 0.9.4.1 but it should be compatible...the problem is probably libcurl. Did you tried to replace your existing libcurl with the one linked in the first post to see if it works ? Yes it does work with the libcurl.dll you reference. However, I compared your libcurl.dll to the one I am using. The one I have has a version and a date and references The cURL library, http://curl.haxx.se/. The one you are recommended has no Properties associated with it, is half the size 94KB vs. 172KB, and is dated 1/2/2004 vs 2/26/2006 for the version I have. Thus I think I am using a more recent version of the .dll. Perhaps it would be worthwhile for you to consider utilizing the more recent version of libcurl.dll in this module. I know you have plenty to do, and this appears to be a great plugin, but there must be significant differences in the two which might express itself with some other plugin (or whatever required the libcurl.dll in the first place). Thanks! |
|
|
|
Nov 27 2006, 23:48
Post
#24
|
|
|
Group: Developer Posts: 809 Joined: 13-November 05 Member No.: 25748 |
Id like to have genre enabled, if its not too much trouble Id like that too. QUOTE Why not have this as an option? this will be in next version QUOTE Also, what does libcurl.dll do? it retrieve html pages QUOTE Testing it right now, some things have popped up. You should test this with all sorts of files, I'mibe in other softwa trying to rename a .flac file (P.U.L.S.E. two discs) and its stuck halfway right now, I dunno if its gonna work out eventually... But this is a .flac image, with embedded cuesheet I think. edit:Yah, its hanging up hardcore, if you could look into that. I've tried with some flacs of mine, no hang. What do you mean by flac image? a single flac containing all tracks ? QUOTE Also, are there any plans for it to find the number by itself, or within foobar bitte? Not in the immediate future as I tried a few very well done interface to what you describe in other software and it's almost always faster and less error prone done manually. Add to that the fact discogs does not facilitate search. Thus I think I am using a more recent version of the .dll. Perhaps it would be worthwhile for you to consider utilizing the more recent version of libcurl.dll in this module. I know you have plenty to do, and this appears to be a great plugin, but there must be significant differences in the two which might express itself with some other plugin (or whatever required the libcurl.dll in the first place). Thanks! yup, will use the latest version! This post has been edited by bubbleguuum: Nov 27 2006, 23:47 |
|
|
|
Nov 28 2006, 21:09
Post
#25
|
|
|
Group: Members Posts: 65 Joined: 7-October 06 Member No.: 36042 |
|
|
|
|
![]() ![]() |
|
Lo-Fi Version | Time is now: 6th September 2010 - 04:14 |